home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.12.gz / 1994.12 / 000023_tim@maths.tcd.ie_Mon Dec 5 14:01:15 1994.msg < prev    next >
Internet Message Format  |  1994-12-30  |  3KB

  1. Received: from salmon.maths.tcd.ie by cs.umb.edu with SMTP id AA22065
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Mon, 5 Dec 1994 14:01:15 -0500
  3. Received: from hamilton.maths.tcd.ie by salmon.maths.tcd.ie  with SMTP
  4.           id aa02514; 5 Dec 94 13:14 GMT
  5. Subject: Re: MakeTeXPK failed (font created but misnamed?)
  6. To: Heiko Schlittermann <heiko@lotte.sax.de>
  7. Date: Mon, 5 Dec 1994 13:14:43 (GMT)
  8. From: Timothy Murphy <tim@maths.tcd.ie>
  9. Cc: tex-k@cs.umb.edu
  10. In-Reply-To: <m0rEa2c-0002gXC@iva.lotte.sax.de> from "Heiko Schlittermann" at Dec 5, 94 10:49:05 am
  11. X-Mailer: ELM [version 2.4 PL21]
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=US-ASCII
  14. Content-Transfer-Encoding: 7bit
  15. Content-Length: 2629      
  16. Message-Id:  <9412051314.aa13290@hamilton.maths.tcd.ie>
  17.  
  18. > I had a LaTeX document using \mag=910 at the very beginning.  TeXing
  19. > went well, as xdvi'ing too (with app defaults as:
  20. ...
  21. >     *.pixelsPerInch:    360
  22. > but dvips'ing went wrong.   It seems that MakeTeXPK/mf didn't create
  23. > the font dvips wanted.  
  24. > MakeTeXPK cmr10 274 300 magstep\(0.5\) cx
  25. ...
  26. > dvips looked for cmr10.274gf (as seen from strace).  But MakeTeXPK
  27. > created cmr10.329gf (as seen from MakeTeXPK's/mf's output.)
  28.  
  29. It's clear that MakeTeXPK took the wrong mode,
  30. trying to create at 360dpi rather than 300dpi.
  31.  
  32. Note that the resolution is taken from the mode "cx" rather than the argument "300".
  33. There is a bug in dvipsk-5.58c --
  34. if the mode is set in config.ps it takes this rather than that requested.
  35. So you can probably solve your problems by modifying config.ps.
  36. Alternatively, apply this patch (not mine):
  37.  
  38. ===================================================
  39. *** dvips.c.orig    Sun Oct 23 21:58:23 1994
  40. --- dvips.c    Fri Nov 11 15:44:52 1994
  41. ***************
  42. *** 129,134 ****
  43. --- 129,135 ----
  44.   Boolean disablecomments ;     /* should we suppress any EPSF comments? */
  45.   char *printer ;               /* what printer to send this to? */
  46.   char *mfmode;                  /* default MF mode */
  47. + int mfmode_option = 0;        /* mfmode was set by command-line option? */
  48.   frametype frames[MAXFRAME] ;  /* stack for virtual fonts */
  49.   fontdesctype *baseFonts[256] ; /* base fonts for dvi file */
  50.   integer pagecost;               /* memory used on the page being prescanned */
  51. ***************
  52. *** 443,449 ****
  53.      int firstext = -1 ;
  54.   #endif
  55.      register sectiontype *sects ;
  56. -    int mfmode_option = 0;
  57.   
  58.      kpse_set_progname (argv[0]);
  59.      
  60. --- 444,449 ----
  61. *** resident.c.orig    Sun Oct 23 21:54:01 1994
  62. --- resident.c    Fri Nov 11 15:43:05 1994
  63. ***************
  64. *** 82,87 ****
  65. --- 82,88 ----
  66.   extern int vmaxdrift ;
  67.   extern char *printer ;
  68.   extern char *mfmode ;
  69. + extern int mfmode_option;
  70.   extern Boolean sendcontrolD ;
  71.   extern unsigned lastresortsizes[] ;
  72.   extern integer hoff, voff ;
  73. ***************
  74. *** 403,409 ****
  75.   case 'M' :
  76.            /* If we had the compilation default, replace it. But
  77.               if they specified one with -mode, keep it.  */
  78. !          if (!mfmode)
  79.              mfmode = configstring(was_inline+1, 0) ;
  80.            break ;
  81.   case 'o' :
  82. --- 404,410 ----
  83.   case 'M' :
  84.            /* If we had the compilation default, replace it. But
  85.               if they specified one with -mode, keep it.  */
  86. !          if (!mfmode_option)
  87.              mfmode = configstring(was_inline+1, 0) ;
  88.            break ;
  89.   case 'o' :
  90. ===================================================
  91.